<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
  *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   
  }  
  .d1{

      height: 40px;
    
      border-top: 3px solid orange;
      border-bottom: 1px solid #fff0;
  }
  .d1 a{
      text-decoration: none;
      display: inline-block;
      width: 80px;
      height: 40px;
      line-height: 40px;
      font-size: 12px;
      color: #4c4c4c;
  }
  .d1 a:hover{
      background-color: #fff;
      color: orange;
  }
</style>
<body>
    <div class="d1">
      
           <a href="#">新浪导航</a>
           <a href="#">新浪导航</a>
           <a href="#">新浪导航</a>
           <a href="#">新浪导航</a>
           
           
      
       

    </div>
</body>
</html>